SOURCES = main.o vesa.o

CFLAGS =  -fno-stack-protector -nostdlib -nostdinc -fno-builtin  -I"." -I"include"
LDFLAGS=-T../link.ld
ASFLAGS=-felf

all: $(SOURCES) link

clean:
	-rm $(SOURCES) init

link:
	ld -T link.ld -o init $(SOURCES)

.s.o:
	nasm -felf $<

